package org.jet.emall.prod.model;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-23 11:52
 *
 */

@Data
public class NewCustomerModel {
    @NotNull
    private String username;
    @NotNull
    private String password;
    @NotNull
    private String realname;
    @NotNull
    private Byte identityCardType;
    @NotNull
    private String identityCardNo;
    @NotNull
    private String mobilePhone;
    @NotNull
    private String email;
    @NotNull
    private Byte gender;
    @NotNull
    private LocalDate birthDate;
}
